
.photo-viewer {
    overflow: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: -10px;
    padding: 10px;
    .photo-viewer-none {
        text-align:  center;
    }
    .photo-viewer-item {
        overflow: hidden;
        flex: 0 0 25%;
        width: 25%;
        height: 300px;
        padding: 8px;
        border-radius: 4px;
        transition: all .3s;
        .photo-viewer-img {
            overflow: hidden;
            height: 168px;
            margin-bottom: 5px;
            border-radius: 4px;
            img {
                width: 100%;
                border-radius: 4px;
            }
        }
        .photo-viewer-des {
            font-size: 13px;
            line-height: 22px;
            color: rgba(0, 0, 0, 0.85);
            label {
                color: rgba(0, 0, 0, 0.5);
            }
        }
        .photo-viewer-btns {
            margin: 5px -8px -8px -8px;
            padding: 8px;
            text-align: center;
            .btn {
                display: inline-block;
                margin-bottom: 0;
                font-weight: 500;
                text-align: center;
                touch-action: manipulation;
                cursor: pointer;
                background-image: none;
                border: 1px solid transparent;
                white-space: nowrap;
                line-height: 26px;
                padding: 0 15px;
                font-size: 12px;
                border-radius: 4px;
                height: 28px;
                user-select: none;
                transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
                position: relative;
                color: #fff;
                background-color: #0e77ca;
                border-color: #0e77ca;
                &:hover {
                    color: #fff;
                    background-color: #49a9ee;
                    border-color: #49a9ee;
                }
            }
        }
        &:hover {
            box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
            transform: translateY(-5px);
            .photo-viewer-btns {
                border-top: 1px solid rgba(0, 0, 0, 0.1);
            }
        }
    }
}

.photo-viewer-footer {
    border-top: 1px solid #e9e9e9;
    padding: 10px 18px 0 10px;
    text-align: center;
    border-radius: 0 0 0px 0px;
    margin: 15px -16px -5px -16px;
}